<template>
	<view>
		<map :latitude="latitude" :longitude="longitude" class="map"></map>
	</view>
</template>

<script>
export default {
	data(){
		return {
			latitude:null,
			longitude:null
		}
	},
	onLoad(options) {
		if(options.long && options.lat){
			this.latitude = options.lat
			this.longitude = options.long
		}
	},
	methods:{
		
	}
}
</script>

<style lang="scss" scoped>
.map{
	width: 100%;
	height: 100vh;
}
</style>